

Page({
    data: {
        isIphoneX: 1000,
        text_area: "",
        toview: null,
        _android: !1,
        androidCallNum: "",
        newSdk: '',
        open_history: !1,
        chat_content: [],
        android: '',
        open_edit: !1,
        show_block: "",
        user_name: "",
        scroll_min: 100,
        tel: "",
        show_options: !1,
        inputing: !1,
        loading_top: -80,
        copyweid: !1,
        openem: !1,
        ask_text: "产品",
        showimgtrue: !1,
        send_agren: !1,
        copy_weid: !1,
        showtextarea: !1,
        emtions: '',
        focus: !1,
        send_img_agren: !1,
        showimg: !1
    },
    onLoad: function(t) {
      
    },
    toCouponList: function() {
        var t = this.data.card_detial;
        wx.navigateTo({
            url: "/subs/my-coupon/coupon-list/coupon-list?cardId=" + t.simple.card_id
        });
    },
    initData: function(t) {

    },
    login: function() {
    },
    onShow: function() {
        
    },
    chooseEmotions: function(t) {
      
    },
    sendMsg: function() {
       
    },
    dblstr: function(t) {
    },
    edit_self_msg: function() {
        this.setData({
            open_edit: !0
        });
    },
    closed_edit: function() {
        this.setData({
            open_edit: !1
        });
    },
    catch: function() {},
    edit_input: function(t) {
       
    },
    onUnload: function() {
       
    },
    onHide: function() {
       
    },
    loadChatHistory: function() {
      
    },
    openem: function() {
       
    },
    convertMsgtoHtml: function(t) {
       
    },
    convertFaceMsgToHtml: function(t) {
       
    },
    convertTextMsgToHtml: function(t) {
        return t.getText();
    },
    addwechat: function() {
        var t = this;
        t.data.card_detial.weixinid ? t.setData({
            show_options: !0
        }) : wx.showToast({
            title: "暂无微信号",
            icon: "none"
        });
    },
    copy_weid: function() {
       
    },
    callphone: function() {
        
    },
    saveorg: function() {
     
    },
    closed_options: function() {
        this.setData({
            show_options: !1,
            copy_weid: !1
        });
    },
    taboptions: function(t) {
        
    },
    sendAgreen: function(t) {
       
    },
    closed_agren: function() {
        this.setData({
            send_agren: !1
        });
    },
    closed_img_agren: function() {
        this.setData({
            send_img_agren: !1
        });
    },
    send_img_agren: function() {
       
    },
    send_agren: function() {
        
    },
    copy_content: function(t) {
       
    },
    copy_end: function() {
        b < 400 && (b = 0, clearInterval(c));
    },
    focus: function() {
        this.setData({
            showtextarea: !0,
            focus: !0
        });
    },
    postObject: function() {
        
    },
    openimg: function() {
        var t = this, e = t.data.showimg;
        e = !e, t.setData({
            openem: !1,
            showimg: e
        });
    },
    watch_img: function(t) {
        var e = t.currentTarget.dataset.img_url;
        "object" == (void 0 === e ? "undefined" : s(e)) ? wx.previewImage({
            current: e[0],
            urls: e
        }) : wx.previewImage({
            current: e,
            urls: [ e ]
        });
    },
    sendagreeimg: function(t) {
        x = t.currentTarget.dataset.index, this.setData({
            send_img_agren: !0
        });
    },
    _goback: function() {
        wx.navigateBack({
            delta: -1
        });
    },
    _call: function(t) {
       
    },
    _quitcall: function() {
        this.setData({
            androidCallNum: "",
            _android: !1
        });
    },
    gocard: function(t) {
        0 == t.currentTarget.dataset.type && wx.redirectTo({
            url: "/pages/tab/tab?card_id=" + o
        });
    }
});